/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.base.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 *
 * 
 * @author zsp
 * @date 2020-5-24
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class GetDictRequest {

	/**
	 * 字典Id
	 */
	@NotNull(message = "dictIdRequired")
	@AlertMessage(code = "dictIdRequired", msg = "字典Id不能为空")
	private Long dictId;

	private List<Long> dictIdCollection;

	/**
	 * 是否查询上级分类
	 */
	private Boolean withParent;
	/**
	 * 是否查询属性
	 */
	private Boolean withProperty;
	/**
	 * 查询时是否忽略属性的deleteFlag属性
	 */
	private Boolean ignorePropertyDeleteFlag;

}
